package com.gp.learn.ssm.base.system.service;

import com.gp.learn.ssm.base.core.mybaits.base.service.IBaseService;
import com.gp.learn.ssm.base.core.security.model.UserAccount;
import com.gp.learn.ssm.base.system.entity.BaseAccount;

/**
 * 系统用户-登录账号 服务类
 * @author gp
 * @since 2020-07-27
 */
public interface BaseAccountService extends IBaseService<BaseAccount> {

    /**
     * 后台登录
     * @param accountName
     * @return
     */
    UserAccount login(String accountName);

    /**
     * 根据用户名查询账户
     * @param accountName
     * @return
     */
    BaseAccount findByAccountName(String accountName);



}
